<div class="counter">
    <h2>version {{counter}}</h2>
    <ui-button class="white" @click="compress">开始压缩</ui-button>
    <!-- <ui-button @click="showLog">测试log</ui-button> -->
    <!-- <br> -->
    <ui-progress id="progress" value="0"></ui-progress>
    <br>
    <ui-label>总体压缩效果 : </ui-label>
    <ui-progress id="compress_result" value="0"></ui-progress>
    <br>
    <ui-button class="white" @click="clearLog">
        <ui-icon value="clear"></ui-icon>
        clear
    </ui-button>
    <br>
    <ui-label id="desc" value="状态：等待"></ui-label>
    <div id="logWrap"></div>
</div>